package bishi.baidu;

/**
 * @author: 唐小尊
 * @email: 1171702529@qq.com
 * @cate: 2021/08/20 19:12
 */
public class Test {
    public static void main(String[] args) {
        Test test = Singoton.getTest();
    }
    static class Singoton {
        private static Test test;
        static {
            test = new Test();
        }
        public static Test getTest() {
            return test;
        }
    }
    private Test() {
    }
}